package com.linran.wxpublic.domain.xml;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.Data;

/**
 * 微信图文
 *
 * @author lin
 * @date 2020-08-19 19:55
 */
@Data
@JacksonXmlRootElement(localName = "item")
public class WeChatArticle {
    /**
     * 图文消息标题
     */
    @JacksonXmlProperty(localName = "Title")
    private String title;
    /**
     * 图文消息描述
     */
    @JacksonXmlProperty(localName = "Description")
    private String description;
    /**
     * 图片链接，支持JPG、PNG格式，较好的效果为大图360*200，小图200*200
     */
    @JacksonXmlProperty(localName = "PicUrl")
    private String picUrl;
    /**
     * 点击图文消息跳转链接
     */
    @JacksonXmlProperty(localName = "Url")
    private String url;
}
